package org.noworks.game.engine;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.state.StateBasedGame;

/**
 * Component abstract class to allow for the addition of whatever fuctionality
 * the programmer wishes.
 * 
 * @author Michael Nowak
 * 
 */
public abstract class Component {
	protected String id; // Unique ID of the component
	protected Entity owner; // Owner of this component

	public String getId() {
		return id;
	}

	public void setOwner(Entity owner) {
		this.owner = owner;
	}

	public abstract void update(GameContainer gc, StateBasedGame sbg, int delta);
}
